package org.fly.service;

import org.fly.bean.SmsTemplate;
import org.fly.bean.query.SmsTemplateQuery;
import org.fly.bean.common.BusinessException;
import java.util.List;

/**
* Created by autoCode on 2018-05-02 17:04:48.
*/
public interface SmsTemplateService {

    List<SmsTemplate> list(SmsTemplateQuery query);

    long count(SmsTemplateQuery query);

    SmsTemplate findById(String id);

    void save(SmsTemplate bean)  throws BusinessException;

    void delete(String id);

    SmsTemplate findByType(String type);

}
